/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.simba.similarity;

/**
 *
 * @author ngonga
 */
public class SimilarityFunctionFactory {
    public static SimilarityFunction get(String name)
    {
        if(name.toLowerCase().startsWith("trigrams")) return new TrigramsSimilarity();
        return new TrigramsSimilarity(); //default
    }
}
